import Request from '../static/network/request.js';

export function attention(data: {
	user_id?: number
	type: number
}):any {
	return Request.post({
		api: '/api/subscribe/set_status',
		data
	})
}

export function getInfo(params: {
	user_id?: number
}):any {
	return Request.get({
		api: '/api/user/info',
		params
	})
}

export function listAttention(params: {
	user_id?: number
	page: number
	limit: number
}):any {
	return Request.get({
		api: '/api/subscribe/lst',
		params
	})
}

export function listFans(params: {
	user_id?: number
	page: number
	limit: number
}):any {
	return Request.get({
		api: '/api/fans/lst',
		params
	})
}